package com.yhsoft.buyer.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yhsoft.buyer.entity.BuyerAddress;
import com.yhsoft.buyer.controller.request.BuyerAddressInVo;
import com.yhsoft.buyer.controller.response.BuyerAddressOutVo;

import java.util.List;

/**
 * <p>
 * 地址 服务类
 * </p>
 *
 * @author yyyyyyyh
 * @since 2023-09-26
 */
public interface IBuyerAddressService extends IService<BuyerAddress> {
    void addAddress(BuyerAddressInVo inVo);

    String updateAddress(BuyerAddressInVo inVo);

    void delBuyerAddress(Long id);

    List<BuyerAddressOutVo> getBuyerAddressList(String userId);

    void setDefalutAddress(Integer id);

    BuyerAddressOutVo getDefalutAddress();

    BuyerAddressOutVo getAddress(String orderId);


}
